package com.freight.order.constant;

/**
 * @author hytma
 */
public interface OrderStatus {

    //货物状态 0待审核 1已拒绝 2报价中 3已关闭 4已完结 -1已删除
    /**
     * 0待审核 1已拒绝 2待执行 3报价中 4已关闭 5已完结 -1已删除
     */
    public static  final Integer GOODS_BEGIN = 0;
    /**
     * 已拒绝
     */
    public static  final Integer GOODS_SURE = 1;
    /**
     * 待执行
     */
    public static  final Integer GOODS_IMPLEMENT = 2;
    /**
     * 报价中
     */
    public static  final Integer GOODS_OFFER = 3;
    /**
     * 已关闭
     */
    public static  final Integer GOODS_EXAMINE = 4;
    /**
     * 已完结
     */
    public static  final Integer GOODS_END = 5;
    /**
     * 已删除
     */
    public static  final Integer GOODS_CANCEL = -1;

    /**
     * 其他
     */
    public static  final Integer APPOINT_OTHER = -1;

    /**
     * 管理员创建的预约
     */

    public static  final Integer APPOINT_ADMIN = 2;
    /**
     * 预约司机
     */
    public static  final Integer APPOINT_VEHICLE = 0;
    /**
     * 预约货物
     */
    public static  final Integer APPOINT_GOODS = 1;

    /**
     * 预约状态 0 起始
     */

    public static  final Integer APPOINT_BEGIN = 0;
    /**
     * 预约状态 1 确认
     */

    public static  final Integer APPOINT_SURE = 1;

    /**
     * 预约状态 2 生成订单
     */

    public static  final Integer APPOINT_END = 2;

    // 订单发票状态 0 待开票  1 已开票 -1 不通过

    public static  final Integer RECEIPT_ING = 0;

    public static  final  Integer RECEIPT_DONE = 1;

    public static  final Integer RECEIPT_CANCEL = -1;

}
